﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000368 RID: 872
	public class TTypeNameList : TParseTreeNodeList
	{
		// Token: 0x0600244F RID: 9295 RVA: 0x00338AEA File Offset: 0x00336CEA
		public virtual void addTypeName(TTypeName typeName)
		{
			base.addElement(typeName);
		}

		// Token: 0x06002450 RID: 9296 RVA: 0x00338AF3 File Offset: 0x00336CF3
		public virtual TTypeName getTypeName(int position)
		{
			if (position < base.size())
			{
				return (TTypeName)this.elementAt(position);
			}
			return null;
		}

		// Token: 0x06002451 RID: 9297 RVA: 0x00338B0C File Offset: 0x00336D0C
		internal override void addParseTreeNode(object arg1)
		{
			this.addTypeName((TTypeName)arg1);
		}

		// Token: 0x06002452 RID: 9298 RVA: 0x00338B1A File Offset: 0x00336D1A
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06002453 RID: 9299 RVA: 0x00338B2C File Offset: 0x00336D2C
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			for (int i = 0; i < base.size(); i++)
			{
				this.getTypeName(i).accept(v);
			}
			v.postVisit(this);
		}
	}
}
